import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import _ from 'lodash'
import axiosInstance from '@/axios'
import VueCookies from 'vue-cookies'
import Antd from '@/antd';

const vm = createApp(App)

//等同于vue 2中的原型功能
vm.config.globalProperties.$_ = _;
vm.config.globalProperties.$axios = axiosInstance;
vm.config.globalProperties.$cookies = VueCookies;

// console.log(vm)

vm.
use(store).
use(router).
use(Antd).
// use(VueAxios,axios).
// use(VueCookies).
mount('#app')
